<layout name="../../../Resource/master"/>
<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="index.html"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">添加商品分类</a></li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none">添加商品分类</h3>
</div>
<div class="row">
    <div class="col-sm-12">
        <section class="panel panel-default">
            <header class="panel-heading font-bold">添加商品类型</header>
            <div class="panel-body">

                <ul class="nav nav-tabs" role="tablist">
                    <li><a style="background:lawngreen" href="{:U('cateLists')}">分类首页</a></li>
                    <li class="active"><a style="background:lawngreen" href="">添加分类</a></li>
                </ul>
                <form class="form-horizontal" id="form" action="" method="post">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h3 class="panel-title">分类管理</h3>
                        </div>
                        <div class="panel-body">
                            <div class="form-group">
                                <label for="" class="col-sm-2 control-label">分类名称</label>
                                <div class="col-sm-9">
                                    <input type="text" name="cname"  class="form-control" placeholder="请填写分类名称">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-2 control-label">所属分类</label>
                                <div class="col-sm-9">
                                    <select class="js-example-basic-single form-control" name="pid">
                                        <option value="0">顶级分类</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="" class="col-sm-2 control-label">分类排序</label>
                                <div class="col-sm-9">
                                    <input type="number" name="sort"  class="form-control" placeholder="请填写分类排序">
                                </div>
                            </div>
                        </div>
                    </div>
                    <button class="btn btn-primary" type="submit">确定</button>
                </form>

            </div>
        </section>
    </div>
</div>
<script>
    function controller($scope, $, _) {
    }
</script>
